package llmserviceopenai.model

import kotlinx.serialization.Serializable


@Serializable
data class EmbeddingModelResponse(

    val data: List<EmbeddingData>,
    val `object`: String,

    val model: String,
    val usage: Usage? = null,
)

@Serializable
data class EmbeddingData(

    val embedding: List<Float>,
    val index: Int
)

@Serializable
data class EmbeddingRequest(

    val model: String,
    val input: List<String>
)
